package com.yuexunit.finance.zhanghuguangli.entity;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import com.yuexunit.finance.project.entity.lexicon.DefaultAccountEnum;
/**
 * @ClassName: EnterpriseAccountManagementEntity
 * @Description: TODO(这里用一句话描述这个类的作用)
 * @author 
 * @date 
 */
@Entity
@Table(name = "BANK_ACCOUNT_MANAGEMENT")
public class EnterpriseAccountEntity {
	/** 账户ID */
	@Id
	@GeneratedValue
	@Column(name = "ACCOUNT_ID")
	private Long accountId;
	
	/** 企业信息ID */
	@Column(name = "ENTERPRISE_ID")
	private Long enterpriseId;
	
	/** 银行卡号 */
	@Column(name = "CREDIT_CARD")
	private String creditCard;
	
	/** 开户名 */
	@Column(name = "ACCOUNT_HOLDER")
	private String accountHolder;
	
	/** 开户行名称 */
	@Column(name = "DEPOSIT_BANK")
	private String depositBank;

	/** 银行支行 */
	@Column(name="SUBBRANCH")
	private String subbranch;
	
	/** 创建时间 */
	@Column(name = "CREATE_DT")
	private Date createDateTime;
	
	/** 更新时间*/
	@Column(name = "UPDATE_DT")
	private Date updateDateTime;
	
	/** 置顶*/
	@Column(name = "TOP")
	private Boolean top;
	
	/** 是否是默认账户 ： 0未知,1默认账户*/
	@Column(name = "DEFAULT_ACCOUNT")
	private DefaultAccountEnum defaultAccount;
	
	public DefaultAccountEnum getDefaultAccount() {
		return defaultAccount;
	}

	public void setDefaultAccount(DefaultAccountEnum defaultAccount) {
		this.defaultAccount = defaultAccount;
	}

	public Date getUpdateDateTime() {
		return updateDateTime;
	}

	public void setUpdateDateTime(Date updateDateTime) {
		this.updateDateTime = updateDateTime;
	}

	public Boolean getTop() {
		return top;
	}

	public void setTop(Boolean top) {
		this.top = top;
	}

	public Long getAccountId() {
		return accountId;
	}

	public void setAccountId(Long accountId) {
		this.accountId = accountId;
	}

	public Long getEnterpriseId() {
		return enterpriseId;
	}

	public void setEnterpriseId(Long enterpriseId) {
		this.enterpriseId = enterpriseId;
	}

	public String getCreditCard() {
		return creditCard;
	}

	public void setCreditCard(String creditCard) {
		this.creditCard = creditCard;
	}

	public String getAccountHolder() {
		return accountHolder;
	}

	public void setAccountHolder(String accountHolder) {
		this.accountHolder = accountHolder;
	}

	public String getDepositBank() {
		return depositBank;
	}

	public void setDepositBank(String depositBank) {
		this.depositBank = depositBank;
	}

	public String getSubbranch() {
		return subbranch;
	}

	public void setSubbranch(String subbranch) {
		this.subbranch = subbranch;
	}

	public Date getCreateDateTime() {
		return createDateTime;
	}

	public void setCreateDateTime(Date createDateTime) {
		this.createDateTime = createDateTime;
	}
	
}
